//
//  discoveryModel.h
//  TinyFortune
//
//  Created by lc on 16/6/12.
//  Copyright © 2016年 lc. All rights reserved.
//

#import <Foundation/Foundation.h>

@class Country,Location,Locations,Province,ViewCity;
@interface discoveryModel : NSObject<YYModel>



@property (nonatomic, copy) NSString *icon;

@property (nonatomic, assign) NSInteger time_consuming_max;

@property (nonatomic, copy) NSString *spot_region;

@property (nonatomic, copy) NSString *cover_route_map_cover;

@property (nonatomic, assign) long long ID;

@property (nonatomic, assign) NSInteger category;

@property (nonatomic, strong) Country *country;

@property (nonatomic, copy) NSString *currency;
/**一句话的介绍*/
@property (nonatomic, copy) NSString *recommended_reason;
/**地址*/
@property (nonatomic, copy) NSString *address;

@property (nonatomic, strong) Locations *location;

@property (nonatomic, copy) NSString *url;
/**概况*/
@property (nonatomic, copy) NSString *desc;
/**去过的人数*/
@property (nonatomic, assign) NSInteger visited_count;

@property (nonatomic, assign) NSInteger wish_to_go_count;
/**联系方式*/
@property (nonatomic, copy) NSString *tel;

@property (nonatomic, assign) NSInteger type;

@property (nonatomic, assign) NSInteger rating_users;

@property (nonatomic, assign) BOOL recommended;

@property (nonatomic, copy) NSString *website;

@property (nonatomic, assign) BOOL has_route_maps;

@property (nonatomic, copy) NSString *cover;

@property (nonatomic, copy) NSString *name_en;

@property (nonatomic, assign) NSInteger comments_count;

@property (nonatomic, assign) CGFloat distance;

@property (nonatomic, copy) NSString *opening_time;

@property (nonatomic, copy) NSString *name;

@property (nonatomic, copy) NSString *city;

@property (nonatomic, assign) NSInteger time_consuming_min;

@property (nonatomic, copy) NSString *arrival_type;

@property (nonatomic, copy) NSString *date_added;

@property (nonatomic, strong) Province *province;

@property (nonatomic, copy) NSString *fee;

@property (nonatomic, copy) NSString *time_consuming;

@property (nonatomic, copy) NSString *extra1;

@property (nonatomic, copy) NSString *cover_s;

@property (nonatomic, assign) NSInteger popularity;

@property (nonatomic, assign) BOOL has_experience;

@property (nonatomic, copy) NSString *slug_url;

@property (nonatomic, assign) BOOL is_nearby;

@property (nonatomic, strong) NSArray *tips;

@property (nonatomic, assign) NSInteger rating;

@property (nonatomic, assign) NSInteger tips_count;

@property (nonatomic, copy) NSString *timezone;

@property (nonatomic, assign) BOOL verified;


@end
@interface Country : NSObject<YYModel>

@property (nonatomic, strong) Location *location;

@property (nonatomic, copy) NSString *url;

@property (nonatomic, copy) NSString *Id;

@property (nonatomic, copy) NSString *slug_url;

@property (nonatomic, copy) NSString *name_orig;

@property (nonatomic, assign) NSInteger type;

@property (nonatomic, copy) NSString *icon;

@property (nonatomic, copy) NSString *name;

@end

@interface Location : NSObject<YYModel>

@property (nonatomic, assign) CGFloat lat;

@property (nonatomic, assign) CGFloat lng;

@end

@interface Locations : NSObject<YYModel>

@property (nonatomic, assign) CGFloat lat;

@property (nonatomic, assign) CGFloat lng;

@end

@interface Province : NSObject<YYModel>

@property (nonatomic, strong) ViewCity *location;

@property (nonatomic, copy) NSString *url;

@property (nonatomic, copy) NSString *name_en;

@property (nonatomic, assign) NSInteger id;

@property (nonatomic, copy) NSString *slug_url;

@property (nonatomic, copy) NSString *name_orig;

@property (nonatomic, copy) NSString *name_zh;

@property (nonatomic, assign) NSInteger type;

@property (nonatomic, copy) NSString *icon;

@property (nonatomic, copy) NSString *name;

@end

@interface ViewCity : NSObject<YYModel>

@property (nonatomic, assign) CGFloat lat;

@property (nonatomic, assign) CGFloat lng;

@end

